//
//  LSChatCircleCell.m
//  LookScore
//
//  Created by wr on 2017/12/11.
//  Copyright © 2017年 ChongQingXunTiCompany. All rights reserved.
//
#import "EdgeInsetsLabel.h"

@implementation EdgeInsetsLabel

- (void)setContentInset:(UIEdgeInsets)contentInset {
    _contentInset = contentInset;
    
    [self setNeedsDisplay];
}

-(void)drawTextInRect:(CGRect)rect {
    [super drawTextInRect:UIEdgeInsetsInsetRect(rect, self.contentInset)];
}

- (void)sizeToFit {
    
}

@end
